package com.wanjia.order.server.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;

import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * @Description  
 * @Author  zhulei
 * @Date 2022-06-20 
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table ( name ="user_order_details" )
public class UserOrderDetails  implements Serializable {



	/**
	 * 订单详细id
	 */
   	@Column(name = "user_order_details_id" )
	private Integer userOrderDetailsId;

	/**
	 * 所属订单(订单id)
	 */
   	@Column(name = "user_order_id" )
	private Integer userOrderId;

	/**
	 * 商品详细id
	 */
   	@Column(name = "prodect_details_id" )
	private Integer prodectDetailsId;

	/**
	 * 购买数量
	 */
   	@Column(name = "count" )
	private Integer count;

	/**
	 * 成交单价
	 */
   	@Column(name = "price" )
	private BigDecimal price;



}
